package io.renren.modules.im.service.Impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.modules.im.dao.IMFriendDao;
import io.renren.modules.im.dao.IMMessagesDao;
import io.renren.modules.im.entity.IMFriends;
import io.renren.modules.im.entity.IMMessages;
import io.renren.modules.im.service.IMMessagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IMMessagesServiceImpl extends ServiceImpl<IMMessagesDao, IMMessages>  implements IMMessagesService {


    @Override
    public List<IMMessages> listMsg(Long mFromUserID, Long mToUserID) {
        return baseMapper.listMsg(mFromUserID, mToUserID);
    }
}
